﻿namespace Basic.FormRemoteModel
{
    public enum ViewJoinType
    {
        Inner = 0,
        Left = 1,
        Right = 2,
    }

    public enum DataFuncType
    {
        基本 = 0,
        选项值 = 1,
        上传的附件 = 2,
        字典项 = 3,
        人员ID = 4,
        部门单位ID = 5,
        公司ID = 6,
        树形字典 = 7,
    }
    public enum FormPageStatus
    {
        起草 = 0,
        启用 = 1,
        停用 = 2
    }
    public enum PageColAlign
    {
        Left = 0,
        Center = 1,
        Right = 2,
    }
    public enum PageChartType
    {
        饼状图 = 0,
        柱形图 = 1,
        折线图 = 2,
        条形图 = 3,
        面积图 = 4,
        散点图 = 5
    }

    public enum PageNumMag
    {
        千 = 0,
        万 = 1,
        百万 = 2,
        千万 = 3,
        亿 = 4,
    }
    public enum PageFuncType
    {
        None = 0,
        计数 = 1,
        取和 = 2,
        最小值 = 3,
        最大值 = 4,
        去重计数 = 5,
        取年月 = 6,
        取年份 = 7,
        取月份 = 8,
        取季度 = 9,
        取周几 = 10,
        取年的第几天 = 11,
    }

    public enum ViewGroupFuncType
    {
        None = 0,
        获取年月 = 1,
        获取年份 = 1,
        获取月份 = 2,
        获取日 = 3,
        获取季度 = 4,
    }
    public enum PageControlType
    {
        指标图 = 0,
        图表 = 1,
        统计表 = 2,
        筛选组件 = 3,
        明细表 = 4,
        容器 = 5,
        普通控件 = 6
    }
    public enum PageControlStatus
    {
        未启用 = 0,
        启用 = 1,
        隐藏 = 2
    }
    public enum FormStateControl
    {
        显示 = 0,
        隐藏 = 1,
        只读 = 2,
        禁用 = 3
    }
    public enum FormLabelPosition
    {
        左 = 0,
        顶 = 1,
        右 = 2
    }
    public enum FormColumnFuncType
    {
        无 = 0,
        人员ID = 1,
        部门单位ID = 2,
        公司ID = 3,
        字典项 = 4,
        上传的附件 = 5,
        审批日志ID = 6,
        选项值 = 7,
        树形字典 = 8
    }
    public enum FormConfigTemplateType
    {
        自定义 = 0,
        树形字典 = 1,
        普通字典 = 2,
        开关 = 3,
        下拉选项 = 4,
        固定值 = 5,
        数字 = 6,
        选择单位 = 7,
        选择部门 = 8,
        选择公司 = 9
    }

    public enum FormDefValType
    {
        自定义 = 0,
        公式 = 1,
        数据源 = 2
    }
    public enum QueryFilterMode
    {
        等于 = 0,
        大于 = 1,
        大于等于 = 2,
        小于 = 3,
        小于等于 = 4,
        Between = 5,
        Link = 6,
        StartsWith = 7,
        EndsWith = 8
    }
    public enum PageFilterMode
    {
        等于 = 0,
        大于 = 1,
        大于等于 = 2,
        小于 = 3,
        小于等于 = 4,
        Between = 5,
        Link = 6,
        StartsWith = 7,
        EndsWith = 8,
        In = 9,
        NotIn = 10,
        不等于 = 11,
        NoLink = 12,
    }
    public enum FormLayoutType
    {
        无 = 0,
        左 = 2,
        搜索栏 = 4
    }
    public enum LayoutLocation
    {
        左边 = 0,
        搜索栏 = 1
    }
    public enum QueryControlStatus
    {
        起草 = 0,
        启用 = 1,
        停用 = 2
    }
    public enum ColAlign
    {
        Left = 0,
        Center = 1,
        Right = 2,
    }
    public enum FormStatus
    {
        起草 = 0,
        启用 = 1,
        停用 = 2
    }
    public enum PyFormPageType
    {
        默认 = 0,
        编辑页 = 1,
        呈现页 = 2,
        抄送页 = 3
    }

    public enum ControlStatus
    {
        起草 = 0,
        启用 = 1,
        停用 = 2
    }

    public enum TableRowGenerateMode
    {
        手工添加 = 0,
        固定生成 = 1,
        根据表单中的列 = 2,
        根据分组数据生成行 = 3
    }
    public enum FormRecordDataType
    {
        String = 0,
        Number = 1,
        Time = 2,
        Array = 3,
        Bool = 4,
        Long = 5,
        DateTime = 6,
        Date = 7,
        ListItem = 8
    }
    public enum PhyTableDataType
    {
        Varchar = 0,
        NVarchar = 1,
        Number = 2,
        Short = 3,
        Array = 4,
        Bool = 5,
        Long = 6,
        DateTime = 7,
        Date = 8,
        Int = 9,
    }
    public enum PhyColShowMode
    {
        Column = 0,
        EmpName = 1,
        DeptName = 2,
        UnitName = 3,
        DeptAndUnit = 4,
        DictItemName = 5,
        DictTreeName = 6,
        DictItem = 7,
    }
    public enum ValidateRuleType
    {
        数字范围 = 0,
        正则表达式 = 1,
        字符长度 = 2
    }
    public enum ControlValueRange
    {
        自定义 = 0,
        树形字典 = 1,
        普通字典 = 2,
        开关 = 3,
        下拉选项 = 4,
        固定值 = 5,
        数字 = 6,
        控件选择 = 7,
        范围限定 = 8,
        自定义字典 = 9,
        普通字典项 = 10,
        树形字典项 = 11,
        用户文件目录 = 12
    }
    public enum ColumnFiexdType
    {
        无 = 0,
        左 = 1,
        右 = 2
    }
    public enum ControlType
    {
        Input = 0,
        Number = 1,
        Text = 2,
        Label = 3,
        Date = 4,
        Time = 5,
        Switch = 6,
        Emp = 7,
        Dept = 8,
        Company = 9,
        Customize = 10,
        Datetime = 11,
        Checkbox = 12,
        Radio = 13,
        Rato = 14,
        Upload = 15,
        Select = 17,
        Hidden = 18
    }
    public enum FormTableType
    {
        单一表单 = 0,
        多行列表 = 1,
    }
    public enum PhyFormTableType
    {
        单一表单 = 0,
        多行列表 = 1,
        自定义表单 = 2
    }

    public enum FormType
    {
        自定义表单 = 0,
        代理表单 = 1,
        物理表单 = 2,
        视图 = 3
    }
}
